package com.hzhr.iot.device.model.prodFactory;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.device.entity.ProdFactoryEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ProdFactoryModel", description = "生产厂家模型")
@CygModel(entity = ProdFactoryEntity.class)
public class ProdFactoryModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 描述(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 所属燃气公司编号(show_info=true时展示; 关联: user_service.company.id)")
    @CygProperty(show = "_show_info", entityProp = "companyId")
    private Integer companyId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
